package com.eonmind.pay.service;


import com.eonmind.common.contract.data.response.ResponseEntity;
import com.eonmind.common.provider.entity.pay.Cart;
import com.eonmind.pay.dto.CartDto;
import com.mongoplus.service.IService;
import org.springframework.stereotype.Service;

@Service
public interface CartService extends IService<Cart> {
    ResponseEntity<CartDto> getListByUserId(Long id);

    ResponseEntity addCartByUserId(Cart cart, Long userId);


    void updateOrderId(Long id, Long orderId);
}
